package edu.ptu.communityplatform.service;

import com.baomidou.mybatisplus.extension.service.IService;
import edu.ptu.communityplatform.domain.entity.Role;

/**
 * @BelongsProject: communityPlatform
 * @BelongsPackage: edu.ptu.communityplatform.service
 * @Author: HYJ
 * @CreateTime: 2025-04-07  19:08
 * @Description: TODO
 * @Version: 1.0
 */
public interface IRoleService extends IService<Role> {
    /**
     * 根据ID获取角色名称
     *
     * @param roleId 角色ID
     * @return 角色名称
     */
    String getRoleNameByRoleId(Integer roleId);
}
